home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / gadget / r3treele.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.0 KB  |  48 lines

  1.  
  2. // JavaScript wrapper for r3treele.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_TREELEVEL_H = 1;
  7. include("real/objects/r3level.js")
  8.  
  9.  
  10. var R3CLID_TREELEVEL = 649;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3TREELEVELA_Object = 649500;
  19. function SetR3TREELEVELA_Object(value) {
  20.   R3Set(this.r3obj, R3TREELEVELA_Object, value, R3TID_OBJECT, 0); 
  21. }
  22.  
  23. function GetR3TREELEVELA_Object() {
  24.   return R3ToJS(R3Get(this.r3obj, R3TREELEVELA_Object, R3TID_OBJECT, 0)); 
  25. }
  26.  
  27. R3TREELEVELA_ObjectOffset = 649501;
  28. function SetR3TREELEVELA_ObjectOffset(value) {
  29.   R3Set(this.r3obj, R3TREELEVELA_ObjectOffset, value, R3TID_INTEGER, 0); 
  30. }
  31.  
  32.  
  33.  
  34. function r3Treelevel () { 
  35.    this.base = r3God;
  36.    if(arguments.length) {
  37.       this.base(R3CLID_TREELEVEL, arguments);
  38.    }
  39.    // Methods
  40.  
  41.    // Attributes
  42.    this.GetObject=GetR3TREELEVELA_Object;
  43.    this.SetObject=SetR3TREELEVELA_Object;
  44.    this.SetObjectOffset=SetR3TREELEVELA_ObjectOffset;
  45. }
  46.  
  47. r3Treelevel.prototype=new r3Level;
  48. // r3treele.h_H